package base.day22.file;

import java.io.File;

public class MyFile1 {
    public static void main(String[] args) {
        String path="E:\\text\\java text";
        File file=new File(path);
        System.out.println(file);

        String path1="E:\\text\\java text";
        String path2="test1.txt";
        File file1=new File(path1,path2);
        System.out.println(file1);

        File file2=new File("E:\\text\\java text");
        String path3="test.txt";
        File file3=new File(file2,path3);
        System.out.println(file3);
    }
}
